package com.matt.foundation.vo.nursery;

import com.matt.foundation.vo.children.DailyScheduleVo;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * *******************************
 * Created by lch.
 * form com.matt
 * on 2019/01/03
 * *******************************
 */
@Data
public class CheckNurseryScheduleVo {

    //排课时间是否相同
    private boolean same=false;

    private String classesName;

    private String areaName;

    private Date beginDate;

    private Date endDate;

    //审核状态
    private Integer checkStatus;

    //提交审核时间
    private Date submitDate;

    //提交审核人姓名
    private String submitStaffName;

    private List<DailyScheduleVo> dailyScheduleVoList = new ArrayList<>();

    public static CheckNurseryScheduleVo of(String classesName, String areaName, List<DailyScheduleVo>  dailyScheduleVoList, Boolean same,
                                            Date beginDate,Date endDate,Integer checkStatus,Date submitDate,String submitStaffName){
        CheckNurseryScheduleVo vo = new CheckNurseryScheduleVo();
        vo.setClassesName(classesName);
        vo.setAreaName(areaName);
        vo.setDailyScheduleVoList(dailyScheduleVoList);
        vo.setSame(same);
        vo.setBeginDate(beginDate);
        vo.setEndDate(endDate);
        vo.setCheckStatus(checkStatus);
        vo.setSubmitDate(submitDate);
        vo.setSubmitStaffName(submitStaffName);
        return vo;
    }

}
